<style>
html {
  /*background: #ddd;*/
  padding: 100px;
}
body {
  background: white;
}
#div1 {
  background: yellow;
  width :200px;
  -webkit-transform: rotate(20deg);
  -webkit-transform-origin: top;
}
</style>
<div id="div1">
  Lorem ipsum dolor sit amet, consectetur adipisicing elit. Aperiam officia.
</div>